﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace class1
{//铁匠 NPC
    //修补 强化 改造
    class blackType : NPC
    {
        public string blacktype;
        public string Blacktype
        {
            get { return this.blacktype; }
            set { this.blacktype = value; }
        }

        public blackType(string name, NPCType nPCType,string blacktype)
            :base(name,nPCType)
        {
            this.blacktype = blacktype;
        }
        public override void speck()
        {
            Console.WriteLine("我叫："+this.name );
            Console.WriteLine("我是："+ this.npcType+"类型的");
            Console.WriteLine("如果你需要帮忙，请喊我！！");
            Console.WriteLine("我可以："+ this.blacktype);
        }
    }
}
